﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace cwtrock.syscommon
{
  public  class SysConst
    {
      // 借贷方向
      public static string BORROW = "1";

      public static string LOAN = "2";

      // 会计科目代码
      public static string ACCT_CODE_FORTUNE = "001";
      public static string ACCT_CODE_LIABILITY = "002";
      public static string ACCT_CODE_COMMON = "003";
      public static string ACCT_CODE_SHARE = "004";
      public static string ACCT_CODE_COST = "005";
      public static string ACCT_CODE_INCOME = "006";
      public static string ACCT_ROOT = "0";
      public static string ACCT_NAME_SEPERATOR = " - ";

      // 基础数据表的类别代码
      public static string SYS_DATA_TYPE = "vou_type";
      public static string VOU_TYPE_SHOU = "01";
      public static string VOU_TYPE_FU = "02";
      public static string VOU_TYPE_ZHUAN = "03";



      // 凭证状态
        // 已审核
      public static string VOUCHER_CHECKED_YES = "2";
       // 未审核
      public static string VOUCHER_CHECKED_NO = "1";
      // 查审核全部
      public static string VOUCHER_CHECKED_ALL = "0";


      // 已过账
      public static string VOUCHER_POST_YES = "2";
      // 未过账
      public static string VOUCHER_POST_NO = "1";
      // 查过账全部
      public static string VOUCHER_POST_ALL = "0";

      // 已作废
      public static string VOUCHER_UESED_YES = "2";
      // 未作废
      public static string VOUCHER_UESED_NO = "1";
      // 查作废全部
      public static string VOUCHER_UESED_ALL = "0";

      // 已结算
      public static string VOUCHER_CLOSED_YES = "2";
      // 未结算
      public static string VOUCHER_CLOSED_NO = "1";
      // 查结算全部
      public static string VOUCHER_CLOSED_ALL = "0";

      // 增删改标志位
      public static string FRM_FLAG_ADD    = "0";
      public static string FRM_FLAG_EDIT   = "1";
      public static string FRM_FLAG_DELETE = "2";
      public static string FRM_FLAG_VIEW = "3";

    }
}
